import request from '@/utils/request'
import { projectApiUrlList } from '@/api/config'

// const projectApiUrlList = '/cscec-project-business-hp'

/**
 * 设计问题案例库 - 列表查询
 * @param parameter
 */
export function knowledgeDesignList(parameter) {
  return request({
    url: projectApiUrlList + '/project/knowledge/problemList',
    method: 'post',
    data: parameter
  })
}

/**
 * 设计问题案例库 - 详情？（暂时不用）
 */
export function knowledgeDesignDetail(params) {
  return request({
    url: projectApiUrlList + '/project/knowledge/problemDetail',
    method: 'get',
    params
  })
}

/**
 * 设计问题案例库 - 删除
 */
export function knowledgeDesignDel(params) {
  return request({
    url: projectApiUrlList + '/project/knowledge/problemDelete',
    method: 'get',
    params
  })
}
